/* 
 * File:   Image.h
 * Author: Claudio
 *
 * Created on February 25, 2013, 2:54 PM
 */

#ifndef IMAGE_H
#define	IMAGE_H
#include "Media.h"
#include <string>
#include "Imagens.h"

using namespace std;

class Image : public Media{
public:
    Image(string path){
        this->path = path;
        imagens = NULL;
    }
    Image(AAM::Imagens *img){
        imagens = img;
    }
    AAM::Imagens* getImage(){
        return imagens;
    }
    string getImagePath(){
        if(imagens==NULL)
                return path;
        else
            return imagens->getFilename();
    }
private:
    string path;
    AAM::Imagens *imagens;
};


#endif	/* IMAGE_H */

